package com.wordLearning.word.domain.convert;

import com.wordLearning.word.domain.entity.FavoriteWordBO;
import com.wordLearning.word.infra.basic.entity.FavoriteWord;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface FavoriteBOConverter {

    FavoriteBOConverter INSTANCE = Mappers.getMapper(FavoriteBOConverter.class);

    FavoriteWord convertFavoriteBOToEntity(FavoriteWordBO favoriteWordBO);

    FavoriteWordBO convertFavoriteEntityToBO(FavoriteWord favoriteWord);
}
